// Multiply.cpp: implementation of the Multiply class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Expression.h"
#include "Multiply.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Multiply::Multiply()
{

}

Multiply::~Multiply()
{

}

Variable Multiply::Execute()
{
	Variable varLeft = LeftNote()->Execute();
	Variable varRight = RightNote()->Execute();
	return varLeft * varRight;
}